package com.main.common.base.base;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

public interface BaseAssembler<E ,D> {

    D toDTO(E entity, D dto) ;

    E toEntity(D dto, E entity) ;

}
